package com.bq.server.service;

import com.bq.server.core.model.CadreAppointInfo;
import com.bq.server.core.vo.request.AdjustDeptRequest;
import com.bq.server.core.vo.request.CadreAppointInfoRequest;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author shchen
 */
public interface CadreAppointInfoService {


    /**
     * 添加干部信息
     *
     * @param request
     */
    void create(CadreAppointInfoRequest request);


    /**
     * 调整部门
     *
     * @param request
     */
    void adjustDept(AdjustDeptRequest request);

    /**
     * 查询干部信息
     *
     * @param id 主键id
     * @return CadreAppointInfo
     */
    CadreAppointInfo info(Long id);

    /**
     * 删除干部信息
     *
     * @param id 主键ID
     */
    void remove(Long id);

    void updateById(Long id, CadreAppointInfoRequest request);

    void importWord(MultipartFile file, Long deptId);
}





